package com.csun.cmny.provider.pojo;

import java.util.List;

public class Floor {
    private Integer floorNo;

    private List<Room> roomList;

    public Integer getFloorNo() {
        return floorNo;
    }

    public Floor(){

    }

    public Floor(Integer floorNo,List<Room> roomList){
        this.floorNo = floorNo;
        this.roomList = roomList;
    }

    public void setFloorNo(Integer floorNo) {
        this.floorNo = floorNo;
    }

    public List<Room> getRoomList() {
        return roomList;
    }

    public void setRoomList(List<Room> roomList) {
        this.roomList = roomList;
    }
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", floorNo=").append(floorNo);
        sb.append(", roomList=").append(roomList);
        sb.append("]");
        return sb.toString();
    }
}
